﻿using System.Web.Mvc;
using Kratos.Framework.ContentManagement.Models.SystemRights;

namespace Kratos.Framework.Infrastructures
{
    public abstract class KratosWebPage<TModel> : WebViewPage<TModel> where TModel : class
    {
        public override void Execute()
        {

        }

        protected UserInfo CurrentUser
        {
            get
            {
                return ViewContext.HttpContext.User as UserInfo;
            }
        }
    }

    public class KratosWebPage : KratosWebPage<object>
    {

    }
}
